<template>
  <div>
    <van-nav-bar title="我的收藏" left-arrow @click-left="$router.back()" />
    <newsItem v-for="item in newArr" :key="item.id" :obj="item"></newsItem>
  </div>
</template>

<script>
import { user_star } from "@/api/news";
export default {
  data() {
    return {
      newArr: [],
    };
  },
  created() {
    // this.getUser_stat();
  },
  methods: {
    getUser_stat() {
      user_star().then((res) => {
        console.log(res);
      });
    },
  },
};
</script>

<style>
</style>